package com.qing.shirodemo.service;

import com.qing.shirodemo.entity.User;
import com.qing.shirodemo.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService{


    @Autowired
    private UserMapper userMapper;

    @Override
    public User findUser(String name) {
        return userMapper.findUser(name);
    }
}
